using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Smart.Admin.Domain.Model.Entity
{
    [Table("menu")]
	public class MenuEntity
    {
        
        /// <summary>
        /// 菜单ID
        /// </summary>
        public long Id
        {
            get;
            set;
        }
        
        /// <summary>
        /// 后端权限字符串
        /// </summary>
        public string ApiPerms
        {
            get;
            set;
        }
        
        /// <summary>
        /// 是否缓存
        /// </summary>
        public bool CacheFlag
        {
            get;
            set;
        }
        
        /// <summary>
        /// 组件路径
        /// </summary>
        public string Component
        {
            get;
            set;
        }
        
        /// <summary>
        /// 功能点关联菜单ID
        /// </summary>
        public long? ContextMenuId
        {
            get;
            set;
        }
        
        /// <summary>
        /// 创建时间
        /// </summary>
        public System.DateTime CreateTime
        {
            get;
            set;
        }
        
        /// <summary>
        /// 创建人
        /// </summary>
        public long CreateUserId
        {
            get;
            set;
        }
        
        /// <summary>
        /// 删除状态
        /// </summary>
        public bool DeletedFlag
        {
            get;
            set;
        }
        
        /// <summary>
        /// 禁用状态
        /// </summary>
        public bool DisabledFlag
        {
            get;
            set;
        }
        
        /// <summary>
        /// 是否为外链
        /// </summary>
        public bool FrameFlag
        {
            get;
            set;
        }
        
        /// <summary>
        /// 外链地址
        /// </summary>
        public string FrameUrl
        {
            get;
            set;
        }
        
        /// <summary>
        /// 菜单图标
        /// </summary>
        public string Icon
        {
            get;
            set;
        }
        
        /// <summary>
        /// 菜单名称
        /// </summary>
        public string MenuName
        {
            get;
            set;
        }
        
        /// <summary>
        /// 类型
        /// </summary>
        public int MenuType
        {
            get;
            set;
        }
        
        /// <summary>
        /// 父菜单ID
        /// </summary>
        public long ParentId
        {
            get;
            set;
        }
        
        /// <summary>
        /// 路由地址
        /// </summary>
        public string Path
        {
            get;
            set;
        }
        
        /// <summary>
        /// 权限类型
        /// </summary>
        public int? PermsType
        {
            get;
            set;
        }
        
        /// <summary>
        /// 显示顺序
        /// </summary>
        public int? Sort
        {
            get;
            set;
        }
        
        /// <summary>
        /// 更新时间
        /// </summary>
        public System.DateTime UpdateTime
        {
            get;
            set;
        }
        
        /// <summary>
        /// 更新人
        /// </summary>
        public long? UpdateUserId
        {
            get;
            set;
        }
        
        /// <summary>
        /// 显示状态
        /// </summary>
        public bool VisibleFlag
        {
            get;
            set;
        }
        
        /// <summary>
        /// 前端权限字符串
        /// </summary>
        public string WebPerms
        {
            get;
            set;
        }
        
    }
}